package com.ruirui.demo.strategy.entity;

public class Question {
    private Long id;
    private String content;
    private QuestionType type;
    private String correctAnswer;
    private int score;

    public Question(Long id, String content, QuestionType type, String correctAnswer, int score) {
        this.id = id;
        this.content = content;
        this.type = type;
        this.correctAnswer = correctAnswer;
        this.score = score;
    }

    public QuestionType getType() {
        return type;
    }

    public String getCorrectAnswer() {
        return correctAnswer;
    }

    public int getScore() {
        return score;
    }
}

